﻿using Demo.Public.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Automatic.Models
{
    public  class WorkShopItemModel :BindableBase
    {
		private int _TotlalCount = 0;
		private int _WorkCount = 0;
		private int _WaitCount = 0;
		private int _FaultCount = 0;
		private int _StopCount = 0;
		private string _Name = null;

		/// <summary>
		/// 
		/// </summary>
		public string Name
		{
			get
			{
				return _Name;
			}
			set
			{
				_Name = value;
				RaisePropertyChanged("Name");
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int StopCount
		{
			get
			{
				return _StopCount;
			}
			set
			{
				_StopCount = value;
				RaisePropertyChanged("StopCount");
			}
		}

		/// <summary>
		/// 
		/// </summary>
		public int FaultCount
		{
			get
			{
				return _FaultCount;
			}
			set
			{
				_FaultCount = value;
				RaisePropertyChanged("FaultCount");
			}
		}

		/// <summary>
		/// 
		/// </summary>
		public int WaitCount
		{
			get
			{
				return _WaitCount;
			}
			set
			{
				_WaitCount = value;
				RaisePropertyChanged("WaitCount");
			}
		}

		/// <summary>
		/// 
		/// </summary>
		public int WorkCount
		{
			get
			{
				return _WorkCount;
			}
			set
			{
				_WorkCount = value;
				RaisePropertyChanged("WorkCount");
			}
		}

		/// <summary>
		/// 
		/// </summary>
		public int TotlalCount
		{
			get
			{
				return _TotlalCount;
			}
			set
			{
				_TotlalCount = value;
				RaisePropertyChanged("TotlalCount");
			}
		}
    }
}
